package cn.zhentao.dao;

import cn.zhentao.pojo.Logistics;
import cn.zhentao.pojo.Maintenance;
import cn.zhentao.vo.MaintenanceVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//售后的实体类
@Mapper
public interface AfterSalesDao {
    //查询所有物流
    List<Logistics> findlogisticsAll();
    //添加维修表
    int insertmaintenance(Maintenance maintenance);
    //修改订单表状态为6
    int updateOrderState(int maintenanceOrder);
    //查询维修表
    List<MaintenanceVo> findAllMaintenanceVo(int uid);
}
